def count(n):
    if n == 0:
        return 1
    return n * count(n - 1)


print("阶乘={}".format(count(int(input("请输入：")))))
